"""
奖池实体
"""
class PrizePool:
    def __init__(self, name, total_amount):
        self.name = name
        self.total_amount = total_amount
        self.current_amount = total_amount

    def decrease_amount(self, amount):
        if amount <= self.current_amount:
            self.current_amount -= amount
            print(f"Amount {amount} has been deducted from the prize pool.")
        else:
            print("Insufficient funds in the prize pool.")

    def add_amount(self, amount):
        self.current_amount += amount
        print(f"Amount {amount} has been added to the prize pool.")

    def get_current_amount(self):
        return self.current_amount
